package com.lottery.game.core.modules.entity.user;

import com.lottery.game.common.BaseObject;

import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javafx.scene.chart.ValueAxis;
import lombok.Data;
import lombok.Value;
import springfox.documentation.annotations.ApiIgnore;

/**
 * 用户余额变化明细表
 * @author zhuiyu
 * @date 2018-06-21
 */
@Data
@ApiModel(description = "用户余额变化明细表Model")
public class UserBlncDetail extends BaseObject {
	@ApiModelProperty(value = "ID")
	private String id;
	@ApiModelProperty(value = "游戏用户id")
	private String userId;
	@ApiModelProperty(value = "游戏ID")
	private String gameId;
	@ApiModelProperty(value = "押注类型")
	private String betType;
	@ApiModelProperty(value = "已废弃属性，不用了")
	private String change;
	@ApiModelProperty(value = "押注时间")
	private String changeTime;
	@ApiModelProperty(value = "金额变化值")
	private BigDecimal changeAmt;
	@ApiModelProperty(value = "变化前用户余额")
	private BigDecimal beforBlnc;
	@ApiModelProperty(value = "变化后用户余额")
	private BigDecimal resultBlnc;

	@ApiModelProperty(value = "原因")
	private String changeReason;
	@ApiModelProperty(value = "gameBet表Id")
	private String gameBetId;

	//其他表查询字段
	@ApiModelProperty(value = "房间号")
	private String gameRoomNumber;
	@ApiModelProperty(value = "房间名字")
	private String gameRoomName;
	@ApiModelProperty(value = "标志字段,'errorReturn:开错返回,discardedUnuse:废弃不用'")
	private String bonusType;

}
